package org.csmzxy.class2334.Controller;

public class Example16 {
    public static void main(String[] args){
        DeviceController controller = new DeviceController("设备控制器");
        controller.connectToDevice();
        DeviceController.Device device = controller.new Device("设备1");
        device.powerOn();
        device.powerOff();
    }
}